﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Class1
    {
        public string YHGH;
        public string name;
        public string BM;

        public Class1()
        {
        }

        public Class1(string YHGH, string name, string BM)
        {
            this.YHGH = YHGH;
            this.name = name;
            this.BM = BM;
        }
        public void Class()
        {
            Console.WriteLine("用户的工号{0}、姓名{1}和部门信息{2}", YHGH, name, BM);
        }
        class mimi
        {
            public double damimi(double a, double b)
            {

                return a * a * b;
            }
            public int damimi(int a, int b)
            {
                return a * b;
            }
            class asdf
            {
                public int mimi(int a, int b)
                {
                    return a + b;
                }
                public double mimi(double a, double b)
                {
                    return a + b;
                }
                public String mimi(String a, String b)
                {
                    return a + b;
                }
                public int mimi(int a)
                {
                    int sum = 0;
                    for (int i = 1; i <= a; i++)
                    {
                        sum = sum + i;
                    }
                    return sum;
                }

            }
        }
    }
}